package com.zjff.show.zjffshow.service;


import com.zjff.show.zjffshow.entity.InfoDao;
import com.zjff.show.zjffshow.impl.InfoImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InfoService {
    @Autowired(required = false)
    InfoImpl infoImpl;

    public List<InfoDao> getInfoList(int id, int Start, int Page, String time, String content){//获取列表
        return infoImpl.getInfoList(id,Start,Page,time,content);
    }

    public int getInfoCount(){//获取用户数量
        return infoImpl.getInfoCount();
    }






}

